// 封装本地存储
const TOKEN_KEY = 'geek-pc-token'

const setToken=(token) => {
  localStorage.setItem(TOKEN_KEY,token)
};

const removeToken=() => {
    localStorage.removeItem(TOKEN_KEY)
  };

const getToken=() => {
   return localStorage.getItem(TOKEN_KEY)
};

export  {setToken,getToken,removeToken }

